//
//  LRHomeModel.h
//  本地生活圈
//
//  Created by admin on 15/8/11.
//  Copyright (c) 2015年 懒人. All rights reserved.
//

#import "JSONModel.h"
@class LRFamousModel;
@class LRFocusModel;
@class LRGuessModel;
@class LRGroupModel;
@protocol LRFamousListModel;
@protocol LRFocusListModel;

#pragma mark - homeModel
@interface LRHomeModel : JSONModel
/**
 *  名店推荐
 */
@property (nonatomic, strong) LRFamousModel *famous;
/**
 *  焦点事件|heard
 */
@property (nonatomic, strong) LRFocusModel *focus;
/**
 *  猜你喜欢
 */
@property (nonatomic, strong) LRGuessModel *guess;
/**
 *  生活圈
 */
@property (nonatomic, strong) LRGroupModel *group;
@end
#pragma mark - famous
@interface LRFamousModel : JSONModel
/**
 *  列表
 */
@property (nonatomic, strong) NSArray<LRFamousListModel> *list;
@end

@interface LRFamousListModel : JSONModel
/**
 *  图片链接
 */
@property (nonatomic, copy) NSString *cover;
/**
 *  距离
 */
@property (nonatomic, assign) int distance;
/**
 *  标识
 */
@property (nonatomic, assign) int id;
/**
 *  intro
 */
@property (nonatomic, copy) NSString *intro;
/**
 *  name
 */
@property (nonatomic, copy) NSString *name;
/**
 *  score
 */
@property (nonatomic, assign) int score;

@end
#pragma mark - focus


@interface LRFocusModel : JSONModel

@property(nonatomic,strong) NSArray<LRFocusListModel> *list;


@end

@interface LRFocusListModel : JSONModel

/**
 * 焦点图id
 */
@property(nonatomic,assign)int id;
/**
 *  焦点图标题
 */
@property(nonatomic,copy)NSString *title;
/**
 *  图片链接
 */
@property(nonatomic,copy)NSString *cover;
/**
 *  所要跳转的基础连接
 */
@property(nonatomic,copy)NSString *link;
/**
 *  跳转到指定的模块
 */
@property(nonatomic,copy)NSString *res_name;
/**
 *  指定模块下的详情ID
 */
@property(nonatomic,copy)NSString *res_id;

@end

#pragma mark - guess

@protocol LRGuessListModel ;

@interface LRGuessModel : JSONModel
/**
 *  详表
 */
@property (nonatomic, strong) NSArray<LRGuessListModel> *list;

@end

@interface LRGuessListModel : JSONModel
/**
 *  图标链接cover
 */
@property (nonatomic, copy) NSString *cover;
/**
 *  id
 */
@property (nonatomic, assign) int id;
/**
 *  简介
 */
@property (nonatomic, copy) NSString *intro;
/**
 *  价格
 */
@property (nonatomic, copy) NSString *price;
/**
 *  标题
 */
@property (nonatomic, copy) NSString *title;

@end

#pragma mark - group

@protocol LRGroupListModel <NSObject>


@end

@interface LRGroupModel :JSONModel
/**
 *  详细
 */
@property (nonatomic, strong) NSArray<LRGroupListModel> *list;
@end

@interface LRGroupListModel : JSONModel
/**
 * 焦点图id
 */
@property(nonatomic,assign)int id;
/**
 *  焦点图标题
 */
@property(nonatomic,copy)NSString *title;
/**
 *  图片链接
 */
@property(nonatomic,copy)NSString *cover;
@end


